var mongoose =require('mongoose');
mongoose.connect('mongodb://localhost/android');
var schema = mongoose.Schema;
var attentionSchema = new schema({
    username:{
        type:String,
        required:true
    },
    attentionUser:{
        type:String,
        required:true
    },
    // isAttention:{
    //     type:Number,
    //     required:true
    // }
});
var attention = mongoose.model('Attention',attentionSchema);
// var admin = new attention({
//     username:'18651419821',
//     attentionUser:'12345678900',
// })
// admin.save();
module.exports = attention;